package com.csq.cms.service;

import com.csq.cms.pojo.SignInfo;
import com.csq.common.pojo.ReturnResult;
import com.csq.manager.pojo.Signup;
import com.github.pagehelper.PageInfo;

public interface SignupService {
	
	
	/**
	 * 添加报名
	 * @param signup
	 * @return
	 */
	public ReturnResult addSignup(Signup signup);

	
	
	/**
	 *  返回按类型用户的报名信息
	 * @param accountId
	 * @return
	 */
	public PageInfo<SignInfo> getSignInfoByAccountIdAndType(Integer enterpriseId, Integer type, Integer page, Integer row);

	/**
	 *  返回企业发布的兼职的报名信息
	 * @param accountId
	 * @return
	 */
	public PageInfo<SignInfo> getSignInfoByEnterpriseIdAndType(Integer enterprisetId, Integer type, Integer page, Integer row);
	
	
	/**
	 * 取消报名
	 * @param signupId
	 * @return
	 */
	public ReturnResult deleteSignup(Integer signupId);
	

}
